package com.jeesite.modules.dataScreen.dao;

import cn.hutool.core.date.DateTime;
import com.alibaba.fastjson2.JSONObject;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jeesite.modules.dataScreen.domain.monitoring.MonitoringDetailVo;
import com.jeesite.modules.dataScreen.domain.monitoring.MonitoringSimple;
import com.jeesite.modules.dataScreen.domain.monitoring.PublicOpinionMonitoring;
import com.jeesite.modules.dataScreen.entity.EventOrder;
import com.jeesite.modules.dataScreen.web.dto.UrbanMovementDto;
import com.jeesite.modules.dataScreen.web.vo.UrbanMovementVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@DS("theme-db")
public interface EventOrderDao extends BaseMapper<EventOrder> {

    IPage<UrbanMovementVo> list(IPage<UrbanMovementVo> page, @Param("dto") UrbanMovementDto dto);

    JSONObject getEventOrderCount(@Param("times") Date[] times);

    JSONObject getLevelCount();
}
